package com.htn.system.service.impl;

import com.htn.common.core.constant.Constants;
import com.htn.common.core.constant.UserConstants;
import com.htn.common.core.exception.CustomException;
import com.htn.common.core.text.Convert;
import com.htn.common.core.utils.StringUtils;
import com.htn.common.redis.service.RedisService;
import com.htn.system.domain.HsmwSms;
import com.htn.system.domain.SysConfig;
import com.htn.system.mapper.HsmwSmsMapper;
import com.htn.system.mapper.SysConfigMapper;
import com.htn.system.service.IHsmwSmsService;
import com.htn.system.service.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;

/**
 * 参数配置 服务层实现
 * 
 * @author htn
 */
@Service
public class HsmwSmsServiceImpl implements IHsmwSmsService {

    @Autowired
    private HsmwSmsMapper hsmwSmsMapper;

    @Override
    public HsmwSms selectSmsById(String id) {
        return null;
    }

    @Override
    public String selectSmsByKey(String smsKey) {
        return null;
    }

    @Override
    public List<HsmwSms> selectSmsList(HsmwSms sms) {
        return null;
    }

    @Override
    public int insertSms(HsmwSms sms) {
        return hsmwSmsMapper.insertSms(sms);
    }

    @Override
    public int updateSms(HsmwSms sms) {
        return 0;
    }

    @Override
    public void deleteSmsByIds(Long[] ids) {

    }

    @Override
    public void loadingSmsCache() {

    }

    @Override
    public void clearSmsCache() {

    }

    @Override
    public void resetSmsCache() {

    }

    @Override
    public String checkSmsKeyUnique(HsmwSms sms) {
        return null;
    }

    @Override
    public List<HsmwSms> selectSmsByParam(HashMap param) {
        return hsmwSmsMapper.selectSmsByParam(param);
    }
}
